import type {SVGIconProps} from './svgIcon';
import {SvgIcon} from './svgIcon';

interface IconLabProps extends SVGIconProps {
  isSolid?: boolean;
}

export function IconLab({isSolid, ...props}: IconLabProps) {
  return (
    <SvgIcon {...props}>
      {isSolid ? (
        <path d="M12.25 0.5C12.66 0.5 13 0.84 13 1.25C13 1.66 12.66 2 12.25 2H11.5V6.53L14.67 11.55C15.56 12.95 14.67 14.76 13.1 14.98C12.99 14.99 12.89 15 12.77 15H3.23L3.06 14.99C3.01 14.99 2.95 14.98 2.9 14.98C2.74 14.96 2.59 14.92 2.45 14.87C2.26 14.8 2.08 14.7 1.92 14.59C1.45 14.25 1.12 13.73 1.01 13.16C0.99 13.06 0.98 12.96 0.97 12.87C0.97 12.82 0.97 12.77 0.97 12.72C0.97 12.57 0.99 12.42 1.02 12.27C1.05 12.12 1.1 11.98 1.17 11.83C1.21 11.74 1.26 11.64 1.32 11.55L2.94 9L4.5 6.53V2H3.75C3.34 2 3 1.66 3 1.25C3 0.84 3.34 0.5 3.75 0.5H12.25ZM6 6.75C6 6.89 5.96 7.03 5.88 7.15L4.71 9H11.29L10.12 7.15C10.04 7.03 10 6.89 10 6.75V2H6V6.75Z" />
      ) : (
        <path d="M11.31,16H4.68a3.45,3.45,0,0,1-3.49-3.4,3.34,3.34,0,0,1,.58-1.88L5.12,5.83V3.89H5a1.51,1.51,0,0,1-1.51-1.5V1.51A1.52,1.52,0,0,1,5,0h6a1.52,1.52,0,0,1,1.51,1.51v.88A1.51,1.51,0,0,1,11,3.89h-.1V5.83l3.35,4.89a3.34,3.34,0,0,1,.58,1.88A3.46,3.46,0,0,1,11.31,16ZM5,1.5v.89h.88a.75.75,0,0,1,.75.75V6.07a.7.7,0,0,1-.13.42L3,11.57a1.82,1.82,0,0,0-.32,1,2,2,0,0,0,2,1.9h6.63a2,2,0,0,0,2-1.9,1.82,1.82,0,0,0-.32-1L9.51,6.49a.7.7,0,0,1-.13-.42V3.14a.75.75,0,0,1,.75-.75H11V1.51Z" />
      )}
    </SvgIcon>
  );
}
